package com.bdqn.service;

import com.bdqn.mapper.DevUserMapper;
import com.bdqn.pojo.DevUser;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * DevUserServiceImpl
 *
 * @author LILIBO
 * @since 2022-01-07
 */
@Service
public class DevUserServiceImpl implements DevUserService {

    @Resource
    private DevUserMapper devUserMapper;

    /**
     * 通过账号和密码查找开发者用户
     *
     * @param devCode
     * @param devPassword
     * @return
     */
    @Override
    public DevUser findDevUser(String devCode, String devPassword) {
        return devUserMapper.findDevUser(devCode, devPassword);
    }
}
